package cn.itcast.day04;

public class Demo3 {
    public static void main(String[] args) {
        userAddAble((int x,int y)->{
        return  x+y;
        } );
    }
    private static void userAddAble(addAble a ){
        int sum = a.add(10,20);
        System.out.println(sum);
    }
}
interface addAble {
    int add( int x ,int y );
        }
